package com.group9.service.impl;

import com.group9.dto.AddressInfo;
import com.group9.mapper.UpdateInfoMapper;
import com.group9.service.ShowAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 45865 on 2020/6/2.
 */
@Service
public class ShowAddressServiceImpl implements ShowAddressService {

    @Autowired
    UpdateInfoMapper updateInfoMapper;

    @Override
    public List<AddressInfo> addressList(String loginName) {
        List<AddressInfo> addressInfoList = updateInfoMapper.addressList(loginName);
        return addressInfoList;
    }
}
